import request from '@/utils/request';
export const tagList = () => {
  return request({
    url: `/tag/list`,
    method: 'get',
  });
};
export const createTag = (data: any) => {
  return request({
    url: `/tag/create`,
    method: 'post',
    data,
  });
};
export const updateTag = (data: any) => {
  return request({
    url: `/tag/update`,
    method: 'put',
    data,
  });
};
